<?php
/**
 * Yii bootstrap file.
 * Used for enhanced IDE code autocompletion.
 */
class Yii extends \yii\BaseYii
{
    /**
     * @var BaseApplication|WebApplication|ConsoleApplication the application instance
     */
    public static $app;
}

/**
 * Class BaseApplication
 * Used for properties that are identical for both WebApplication and ConsoleApplication
 *
 * @property \yii\queue\db\Queue $queue
 * @property \yii\web\UrlManager $urlManagerFrontend
 * @property \yii\web\UrlManager $urlManagerBackend
 * @property \yii\web\UrlManager $urlManagerSmalldmin
 * @property \yii\web\UrlManager $urlManagerFztadmin
 * @property \yii\web\UrlManager $urlManagerApi
 * @property \common\components\ApiTool $apiTool
 * @property \common\components\zhiling\ZhiLing $zhiLing
 * @property \common\components\sms\Sms $sms
 * @property \common\components\fenzhangtong\FenZhangTong $fenZhangTong
 */
abstract class BaseApplication extends yii\base\Application
{
}

/**
 * Class WebApplication
 * Include only Web application related components here
 */
class WebApplication extends yii\web\Application
{
}

/**
 * Class ConsoleApplication
 * Include only Console application related components here
 */
class ConsoleApplication extends yii\console\Application
{
}